package org.example.tesData;

/**
 * @author: daiziru
 * @createDate: 2024/3/15 11:07
 */
public class test {

    public static void main(String[] args) {

        Student student = new Student();
        student.setPhotoPath("xxx");
        student.setHomeAddress("xxx");
        User user = setData(student);
        System.out.println(user);


    }

    public static  User setData(User user) {
        user.setUserId("111");
        user.setUserName("戴子儒");
        System.out.println(user);
        return user;
    }
}
